﻿<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object#">
	<meta charset="utf-8">
	<meta http-equiv="content-language" content="vi" />
	<link rel="alternate" href="http://mongingon.vn" hreflang="vi-vn" />
	<meta name='revisit-after' content='1 days' />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	
	<meta content="index, follow" name="robots">
	<meta name="author" content="TinhNQ">
	<title>{if isset($page_title) && $page_title != ''}{$page_title}{else}món gì ngon và dễ làm? Món ngon cuối tuần [MonGiNgon.vn]{/if}</title>
	{if isset($page_keywords) && $page_keywords != ''}
		<meta name="keywords" content="{$page_keywords}"/>
	{else}
		<meta name="keywords" content="{block name="keywords"}{setting name="keywords"}{/block}"/>
	{/if}
	{if isset($page_title) && $page_title != ''}
		<meta property="og:title" content="{$page_title|truncate:75:"...":true}" />
	{else}
		<meta property="og:title" content="Ở đâu ngon và rẻ? món gì ngon và dễ làm? Món ngon cuối tuần [MonGiNgon.vn]" />
	{/if}
	{if isset($page_description) && $page_description != ''}
		<meta name="description" content="{$page_description|truncate:140:"...":true} [MonGiNgon.vn]" />
	{else}
		<meta name="description" content="{block name="description"}{$description} {setting name="description"}{/block}" />
	{/if}
	{if isset($page_url) && $page_url != ''}
		<meta property="og:url" content="{$page_url}" />
	{else}
		<meta property="og:url" content="{url}" />
	{/if}
	{if isset($page_image) && $page_image != ''}
		<meta property="og:image" content="{$page_image}" />
	{else}
		<meta property="og:image" content="{url path='images/logo/icon-57x57.png'}" />
	{/if}
	<meta property="og:type" content="social-cookbook:recipe" />
	<meta property="og:site_name" content="mongingon.vn">
	<meta property="fb:app_id" content="802791579772992">
	<link href="/templates/frontend/css/min.css" rel="stylesheet">
	<!--[if lt IE 9]>
	<script src="{url path="js/html5shiv.js"}"></script>
	<script src="{url path="js/respond.min.js"}"></script>
	<![endif]-->
	<link type="image/x-icon" href="/images/favicon.ico" rel="shortcut icon">
	<link rel="apple-touch-icon-precomposed" href="/images/logo/apple-touch-icon-iphone.png" />
	<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/images/logo/apple-touch-icon-iphone.png" />
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/logo/apple-touch-icon-ipad.png" />
	<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/logo/apple-touch-icon-iphone-retina-display.png"/>
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/logo/apple-touch-icon-ipad-retina-display.png"/>
</head><!--/head-->
<body>
	<div id="fb-root"></div>
	<header id="header"><!--header-->
		<div class="header_top"><!--header_top-->
		</div><!--/header_top-->
		<div class="header-middle"><!--header-middle-->
			<div class="container">
				<div class="row">
					<div class="col-sm-12">
						<div class="logo pull-left">
							<a href="{url}"><img style="height:40px;" src="{url path='images/logo/logo_null.png'}" alt=""/></a>
						</div>
						<div class="navbar-header">
							<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
						</div>
						<div class="mainmenu pull-left">
							<!--menu_top-->
							<ul class="nav navbar-nav collapse navbar-collapse">
								{menu type="main"}
							</ul>
							<!--/menu_top-->
						</div>
						<div class="pull-right">
							{if $logged_in.login_url}
							<a class="btn btn-block btn-social btn-facebook" href="{$logged_in.login_url}">
								<i class="fa fa-facebook"></i> Đăng nhập
							</a>
							{else}
							<div class="btn-toolbar" role="toolbar">
								<div class="btn-group">
									<a class="btn btn-success" href="{url path="dish/new"}" role="button">
										Đăng bài
									</a>
								</div>
								<div class="btn-group">
									<div class="dropdown">
										<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
											{$logged_in.user_profile.name}
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
											<li role="presentation"><a role="menuitem" tabindex="-1" href="{$logged_in.user_profile.link}">Facebook</a></li>
											<li role="presentation"><a role="menuitem" tabindex="-1" href="#">Trang của tôi</a></li>
											<li role="presentation" class="divider"></li>
											<li role="presentation"><a role="menuitem" tabindex="-1" href="{$logged_in.logout_url}">Đăng xuất</a></li>
										</ul>
									</div>
								</div>
							</div>
							{/if}
						</div>
					</div>
				</div>
			</div>
		</div><!--/header-middle-->
	</header><!--/header-->
	{block name="content"}No content has been sent to this block{/block}
	<footer id="footer"><!--Footer-->
		<div class="footer-bottom">
			<div class="container">
				<div class="row">
					<p class="pull-left">Copyright © 2013 MonGiNgon.vn. All rights reserved.</p>
					<p class="pull-right">Designed by <span><a target="_blank" href="http://www.themeum.com">Themeum</a></span></p>
				</div>
			</div>
		</div>
	</footer><!--/Footer-->
	<script type="text/javascript" src="/templates/frontend/js/min.js"></script>
</body>
</html>